package cas.server;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener()
public class ContextListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        // 生成密钥
        SecurityKey.init();
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {

    }
}
